<?php
/* @var $this BookController */
/* @var $model Book */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

    <!--
	<div class="row">
		<?php echo $form->label($model,'id'); ?>
		<?php echo $form->textField($model,'id'); ?>
	</div>
    -->

	<div class="row">
		<?php echo $form->label($model,'bookname'); ?>
		<?php echo $form->textField($model,'bookname',array('size'=>45,'maxlength'=>45,'style'=>'width:500px','class'=>'form-control')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'author'); ?>
		<?php echo $form->textField($model,'author',array('size'=>45,'maxlength'=>45,'style'=>'width:500px','class'=>'form-control')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'browsertimes'); ?>
		<?php echo $form->textField($model,'browsertimes',array('size'=>45,'maxlength'=>45,'style'=>'width:500px','class'=>'form-control')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'abstract'); ?>
		<?php echo $form->textField($model,'abstract',array('size'=>45,'maxlength'=>45,'style'=>'width:500px','class'=>'form-control')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'投票'); ?>
		<?php echo $form->textField($model,'vote',array('size'=>45,'maxlength'=>45,'style'=>'width:500px','class'=>'form-control')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'content'); ?>
		<?php echo $form->textArea($model,'content',array('size'=>45,'maxlength'=>45,'style'=>'width:500px','class'=>'form-control')); ?>
	</div>

    <!--
	<div class="row">
		<?php echo $form->label($model,'typeid'); ?>
		<?php echo $form->textField($model,'typeid'); ?>
	</div>
    -->

    <!--
    <div class="row">
        <?php echo $form->label($model,'price'); ?>
        <?php echo $form->textField($model,'price'); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model,'picture'); ?>
        <?php echo $form->textField($model,'picture',array('size'=>60,'maxlength'=>300)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model,'file'); ?>
        <?php echo $form->textField($model,'file',array('size'=>60,'maxlength'=>300)); ?>
    </div>
    -->

	<div class="row buttons text-right">
		<?php echo CHtml::submitButton('查找', array('class'=>'btn btn-action')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->
